package org.jeecg.modules.platform.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 产品分类三级
 * @Author: jeecg-boot
 * @Date:   2020-05-22
 * @Version: V1.0
 */
@Data
@TableName("xb_product_category")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="xb_product_category对象", description="产品分类三级")
public class ProductCategory {

	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "id")
	private Integer id;
	@ApiModelProperty(value = "上级分类id")
	private Integer parentId;
	@ApiModelProperty(value = "分类名称")
	private String categoryName;
	@ApiModelProperty(value = "分类图片")
	private String coverImgUrl;

}
